package com.atg.atgchat.init;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/*
author: atg
time: 2025/1/11 22:18
*/
@SpringBootApplication(scanBasePackages = {"com.atg.atgchat.**"})
// 扫描mapper
@MapperScan("com.atg.atgchat.init.**.mapper")
//@EnableAsync
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }

}
